package com.wgworkshop.pems.repository;

import com.wgworkshop.pems.model.AttendanceCountByClassRecord;
import com.wgworkshop.pems.model.AttendanceStudentViewRecord;

import java.util.Date;

/**
 * 考勤库自定义接口。
 * Created by wlc on 2017/8/31.
 */
public interface AttendanceRepositoryCustom {
    Iterable<AttendanceStudentViewRecord> getAttendanceStudentView(int week, int classNum);

    Iterable<AttendanceCountByClassRecord> getCountByClass(Date start, Date end, int week, int classNum);

    Iterable<Object[]> getDetailByClass(Date start, Date end, int week, int classNum);
}
